import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Box3D from '@/components/Box3D'
import Sphere3D from '@/components/Sphere3D'
import Cylinder3D from '@/components/Cylinder3D'
import Cone3D from '@/components/Cone3D'
import Pipe3D from '@/components/Pipe3D'
import Beam3D from '@/components/Beam3D'
import Spring3D from '@/components/Spring3D'
import GearWheel3D from '@/components/GearWheel3D'
import DXF3D from '@/components/DXF3D'
import STL3D from '@/components/STL3D'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/box3d',
      name: 'box3d',
      component: Box3D
    },
    {
      path: '/sphere3d',
      name: 'sphere3d',
      component: Sphere3D
    },
    {
      path: '/cylinder3d',
      name: 'cylinder3d',
      component: Cylinder3D
    }
    ,
    {
      path: '/cone3d',
      name: 'cone3d',
      component: Cone3D
    }
    ,
    {
      path: '/pipe3d',
      name: 'pipe3d',
      component: Pipe3D
    }
    ,
    {
      path: '/beam3d',
      name: 'beam3d',
      component: Beam3D
    }
    ,
    {
      path: '/spring3d',
      name: 'spring3d',
      component: Spring3D
    }  ,
    {
      path: '/gear3d',
      name: 'gear3d',
      component: GearWheel3D
    }  ,
    {
      path: '/dxf3d',
      name: 'dxf3d',
      component: DXF3D
    }
    ,
    {
      path: '/stl3d',
      name: 'stl3d',
      component: STL3D
    }
  ]
})
